package com.sinaapp.gavinzhang.GSpider.plugin.batchprocessing;

import com.sinaapp.gavinzhang.GSpider.core.AbstractPageProcessor;

import java.util.List;
import java.util.regex.Pattern;

/**
 * 遗留代码，等待处理
 * @author gavin
 * */
public class SpiderTask {
	private String name;
	private List<String> urlList;
	private List<Pattern> listP;
	protected AbstractPageProcessor findDestination;
	private boolean findFlag = false;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public List<String> getUrlList() {
		return urlList;
	}
	public void setUrlList(List<String> urlList) {
		this.urlList = urlList;
	}
	public List<Pattern> getListP() {
		return listP;
	}
	public void setListP(List<Pattern> listP) {
		this.listP = listP;
	}
	public AbstractPageProcessor getFindDestination() {
		return findDestination;
	}
	public void setFindDestination(AbstractPageProcessor findDestination) {
		this.findDestination = findDestination;
	}
	public boolean isFindFlag() {
		return findFlag;
	}
	public void setFindFlag(boolean findFlag) {
		this.findFlag = findFlag;
	}
	
}
